package com.dmap.analysispoint.service;

import com.dmap.analysispoint.bo.*;
import com.dmap.analysispoint.controller.background.param.CountParam;

import java.util.List;

/**
 * \* @author:zhouhao
 * \* Date:11/05/2018
 * \* Description:
 * \*
 */

public interface PhoneInfoAnalysisService {

    Integer countAddPhoneNum(CountParam param);

    List<DateAndNumBo> countAddPhoneList(CountParam param);

    List<NameAndValueBo> countPhoneVersionAddPhoneNum(CountParam param);

    List<NameAndValueBo> countAppVersionAddPhoneNum(CountParam param);

    List<NameAndValueBo> countFirmwareVersionAddPhoneNum(CountParam param);

    List<NameAndValueBo> countPlaceAddPhoneNum(CountParam param);

    List<DateAndNumBo> countActivePhoneListByHour (CountParam param);

    Integer countActivePhoneNumByHour (CountParam param);

    Long selectMinTime();

    Integer countActivePhoneNumByDay (CountParam param);

    List<NameAndValueBo> countPhoneVersionActivePhoneNum(CountParam param);

    List<NameAndValueBo> countAppVersionActivePhoneNum(CountParam param);

    List<NameAndValueBo> countFirmwareVersionActivePhoneNum(CountParam param);

    List<NameAndValueBo> countPlaceActivePhoneNum(CountParam param);

    Integer countActivePhoneNumByBurialPoint (String projectId, Long startTime, Long endTime);
}
